Package-level declarations

Types

Link copied to clipboard
class DespawnEffect(blockLocation: Location, plugin: PaperMcDespawnedItems)

Plays the short "item landed here" effect at a despawn location: an optional one-shot sound plus a burst of particles that repeats for a configured number of ticks before self-destructing. Takes a plain Location so it is decoupled from how the location was stored.

Link copied to clipboard
class DespawnProcess(var item: ItemStack?, plugin: PaperMcDespawnedItems, actor: UUID? = null)

Drives a single item through the despawn pipeline: it repeatedly picks a random, not-yet-tried despawn location, loads that chunk, and offers the item to each despawn strategy (PaperMcDespawnedItems.strategies) in priority order until the item is fully placed or the location budget runs out.

Link copied to clipboard
class DespawnScheduler(plugin: PaperMcDespawnedItems, random: Random = Random.Default)

Bounds the automatic despawn pipeline so a flood of despawning items can't storm the server, and shares that bounded budget fairly between players.